/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package views;

import org.zkoss.zk.ui.Executions;
import org.zkoss.zk.ui.event.Event;
import org.zkoss.zk.ui.util.GenericAutowireComposer;
import org.zkoss.zkex.zul.Fisheyebar;

/**
 *
 * @author Administrator
 */
public class Menu extends GenericAutowireComposer {

    private Fisheyebar fisheyebar;

    public void onTrackPatients(Event event) {
        Executions.sendRedirect("account/TrackPatient.do");
    }

    public void onStaff(Event event) {
        Executions.sendRedirect("adminStaff/TrackStaff.do");
    }

    public void onLabTesting(Event event) {
        Executions.sendRedirect("adminStaff/ViewLabTestings.do");
    }

    public void onResources(Event event) {
        Executions.sendRedirect("adminStaff/TrackResources.do");
    }

    public void onViewPatients(Event event) {
        Executions.sendRedirect("account/TrackPatient.do");
    }

    public void onPatientManagement(Event event) {
        Executions.sendRedirect("doctor/PatientManagement.do");
    }

    public void onSamples(Event event) {
        Executions.sendRedirect("laboratory/TrackSamples.do");
    }
}
